home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 15 / Amiga Plus Leser CD 15.iso / Tools / Development / AmigaTalk_X / prelude / SMakeFile < prev    next >
Encoding:
Makefile  |  2002-03-13  |  6.4 KB  |  186 lines

  1. # ###############################################################
  2. #
  3. #  MakeFile for the standard prelude & related .p files. 
  4. # ###############################################################
  5. #
  6. PARSE  = AmigaTalk:c/Parse -hex
  7. #
  8. OUTDIR = AmigaTalk:Prelude/
  9. #
  10. INDIR  = AmigaTalk:General/
  11. #
  12. NPDIR  = AmigaTalk:General/NewParser/
  13. #
  14. JN     = C:Join
  15. #
  16. PFILES = $(OUTDIR)Class.p $(OUTDIR)Object.p $(OUTDIR)String.p\
  17.  $(OUTDIR)LArray.p $(OUTDIR)Nil.p $(OUTDIR)Array.p $(OUTDIR)Boolean.p\
  18.  $(OUTDIR)True.p $(OUTDIR)False.p $(OUTDIR)Block.p $(OUTDIR)Symbol.p\
  19.  $(OUTDIR)Magnitude.p $(OUTDIR)Number.p $(OUTDIR)Integer.p $(OUTDIR)Char.p\
  20.  $(OUTDIR)Float.p $(OUTDIR)Radian.p $(OUTDIR)Point.p $(OUTDIR)Random.p\
  21.  $(OUTDIR)Collection.p $(OUTDIR)Bag.p $(OUTDIR)Set.p $(OUTDIR)KCollection.p\
  22.  $(OUTDIR)Dictionary.p $(OUTDIR)SCollection.p $(OUTDIR)Interval.p\
  23.  $(OUTDIR)Form.p $(OUTDIR)Pen.p $(OUTDIR)List.p $(OUTDIR)ACollection.p\
  24.  $(OUTDIR)File.p $(OUTDIR)ByteArray.p $(OUTDIR)Semaphore.p\
  25.  $(OUTDIR)Process.p $(OUTDIR)AmigaTalk.p $(OUTDIR)Link.p
  26. #
  27. # $(OUTDIR)Parse.p $(OUTDIR)ParseNodes.p $(OUTDIR)List.p\
  28. # $(OUTDIR)Encoder.p $(OUTDIR)Method.p 
  29. #
  30. # ------ Now for the Rules: -------------------------------------
  31. #
  32. #
  33. standard: $(PFILES) 
  34.   $(JN) $(OUTDIR)class.p $(OUTDIR)object.p $(OUTDIR)string.p $(OUTDIR)larray.p $(OUTDIR)nil.p $(OUTDIR)array.p AS RAM:s1
  35.   $(JN) $(OUTDIR)boolean.p $(OUTDIR)true.p $(OUTDIR)false.p $(OUTDIR)block.p $(OUTDIR)symbol.p $(OUTDIR)magnitude.p AS RAM:s2
  36.   $(JN) RAM:s1 RAM:s2 $(OUTDIR)number.p $(OUTDIR)integer.p $(OUTDIR)char.p $(OUTDIR)float.p  AS RAM:s3
  37.   $(JN) RAM:s3 $(OUTDIR)radian.p $(OUTDIR)point.p $(OUTDIR)random.p $(OUTDIR)collection.p $(OUTDIR)bag.p $(OUTDIR)set.p AS RAM:s4
  38.   $(JN) $(OUTDIR)kcollection.p $(OUTDIR)dictionary.p $(OUTDIR)scollection.p AS RAM:s5
  39.   $(JN) RAM:s4 RAM:s5 $(OUTDIR)interval.p $(OUTDIR)form.p $(OUTDIR)pen.p $(OUTDIR)list.p AS RAM:s6
  40.   $(JN) $(OUTDIR)acollection.p $(OUTDIR)file.p $(OUTDIR)bytearray.p $(OUTDIR)semaphore.p AS RAM:s7
  41.   $(JN) RAM:s6 RAM:s7 $(OUTDIR)process.p $(OUTDIR)AmigaTalk.p $(OUTDIR)Link.p as RAM:s8
  42. #
  43. #  $(JN) $(OUTDIR)Parse.p $(OUTDIR)ParseNodes.p $(OUTDIR)Encoder.p $(OUTDIR)Method.p AS RAM:s9 
  44. #  $(JN) RAM:s8 RAM:s9 AS RAM:final 
  45. #
  46.   COPY RAM:s8 TO $(OUTDIR)standard
  47.   DELETE RAM:s1 RAM:s2 RAM:s3 RAM:s4 RAM:s5 RAM:s6 RAM:s7 RAM:s8 RAM:final
  48. #
  49. # DELETE RAM:s9
  50. #
  51. newParser: $(PFILES) 
  52.   $(JN) $(OUTDIR)Parse.p $(OUTDIR)ParseNodes.p $(OUTDIR)List.p $(OUTDIR)Encoder.p $(OUTDIR)Method.p AS RAM:s1
  53.   COPY RAM:s1 TO $(OUTDIR)newParser
  54.   DELETE RAM:s1
  55. #
  56. # ------ Parser Rules: ------------------------------------------
  57. #
  58. $(OUTDIR)Encoder.p: $(NPDIR)Encoder.st
  59.   $(PARSE)  $(NPDIR)Encoder.st    >$(NPDIR)Encoder.p
  60. #
  61. $(OUTDIR)Parse.p: $(NPDIR)Parse.st
  62.   $(PARSE)  $(NPDIR)Parse.st      >$(NPDIR)Parse.p
  63. #
  64. $(OUTDIR)ParseNodes.p: $(NPDIR)ParseNodes.st
  65.   $(PARSE)  $(NPDIR)ParseNodes.st >$(NPDIR)ParseNodes.p
  66. #
  67. $(OUTDIR)Method.p: $(NPDIR)Method.st
  68.   $(PARSE)  $(NPDIR)Method.st     >$(NPDIR)Method.p
  69. #
  70. # ------ Standard class Rules: ----------------------------------------
  71. #
  72. $(OUTDIR)Link.p: $(INDIR)Link.st
  73.   $(PARSE)  $(INDIR)Link.st >$(OUTDIR)Link.p
  74. #
  75. $(OUTDIR)Nil.p: $(INDIR)UndefinedObject.st
  76.   $(PARSE)  $(INDIR)UndefinedObject.st >$(OUTDIR)nil.p
  77. #
  78. $(OUTDIR)KCollection.p: $(INDIR)KeyedCollection.st
  79.   $(PARSE)  $(INDIR)KeyedCollection.st >$(OUTDIR)KCollection.p
  80. #
  81. $(OUTDIR)SCollection.p: $(INDIR)SequenceableCollection.st
  82.   $(PARSE)  $(INDIR)SequenceableCollection.st >$(OUTDIR)SCollection.p
  83. #
  84. $(OUTDIR)ACollection.p: $(INDIR)ArrayedCollection.st
  85.   $(PARSE)  $(INDIR)ArrayedCollection.st >$(OUTDIR)ACollection.p
  86. #
  87. $(OUTDIR)Interval.p: $(INDIR)Interval.st
  88.   $(PARSE)  $(INDIR)Interval.st   >$(OUTDIR)Interval.p
  89. #
  90. $(OUTDIR)Pen.p: $(INDIR)Pen.st
  91.   $(PARSE)  $(INDIR)Pen.st        >$(OUTDIR)Pen.p
  92. #
  93. $(OUTDIR)List.p: $(INDIR)List.st
  94.   $(PARSE)  $(INDIR)List.st       >$(OUTDIR)List.p
  95. #
  96. $(OUTDIR)ByteArray.p: $(INDIR)ByteArray.st
  97.   $(PARSE)  $(INDIR)ByteArray.st  >$(OUTDIR)ByteArray.p
  98. #
  99. $(OUTDIR)Semaphore.p: $(INDIR)Semaphore.st
  100.   $(PARSE)  $(INDIR)Semaphore.st  >$(OUTDIR)Semaphore.p
  101. #
  102. $(OUTDIR)Class.p: $(INDIR)Class.st
  103.   $(PARSE)  $(INDIR)Class.st      >$(OUTDIR)Class.p
  104. #
  105. $(OUTDIR)Object.p: $(INDIR)Object.st
  106.   $(PARSE)  $(INDIR)Object.st     >$(OUTDIR)Object.p
  107. #
  108. $(OUTDIR)String.p: $(INDIR)String.st
  109.   $(PARSE)  $(INDIR)String.st     >$(OUTDIR)String.p
  110. #
  111. $(OUTDIR)LArray.p: $(INDIR)LArray.st
  112.   $(PARSE)  $(INDIR)LArray.st     >$(OUTDIR)LArray.p
  113. #
  114. $(OUTDIR)Array.p: $(INDIR)Array.st
  115.   $(PARSE)  $(INDIR)Array.st      >$(OUTDIR)Array.p
  116. #
  117. $(OUTDIR)Boolean.p: $(INDIR)Boolean.st
  118.   $(PARSE)  $(INDIR)Boolean.st    >$(OUTDIR)Boolean.p
  119. #
  120. $(OUTDIR)True.p: $(INDIR)True.st
  121.   $(PARSE)  $(INDIR)True.st       >$(OUTDIR)True.p
  122. #
  123. $(OUTDIR)False.p: $(INDIR)False.st
  124.   $(PARSE)  $(INDIR)False.st      >$(OUTDIR)False.p
  125. #
  126. $(OUTDIR)Block.p: $(INDIR)Block.st
  127.   $(PARSE)  $(INDIR)Block.st      >$(OUTDIR)Block.p
  128. #
  129. $(OUTDIR)Symbol.p: $(INDIR)Symbol.st
  130.   $(PARSE)  $(INDIR)Symbol.st     >$(OUTDIR)Symbol.p
  131. #
  132. $(OUTDIR)Magnitude.p: $(INDIR)Magnitude.st
  133.   $(PARSE)  $(INDIR)Magnitude.st  >$(OUTDIR)Magnitude.p
  134. #
  135. $(OUTDIR)Number.p: $(INDIR)Number.st
  136.   $(PARSE)  $(INDIR)Number.st     >$(OUTDIR)Number.p
  137. #
  138. $(OUTDIR)Integer.p: $(INDIR)Integer.st
  139.   $(PARSE)  $(INDIR)Integer.st    >$(OUTDIR)Integer.p
  140. #
  141. $(OUTDIR)Char.p: $(INDIR)Char.st
  142.   $(PARSE)  $(INDIR)Char.st       >$(OUTDIR)Char.p
  143. #
  144. $(OUTDIR)Float.p: $(INDIR)Float.st
  145.   $(PARSE)  $(INDIR)Float.st      >$(OUTDIR)Float.p
  146. #
  147. $(OUTDIR)Radian.p: $(INDIR)Radian.st
  148.   $(PARSE)  $(INDIR)Radian.st     >$(OUTDIR)Radian.p
  149. #
  150. $(OUTDIR)Point.p: $(INDIR)Point.st
  151.   $(PARSE)  $(INDIR)Point.st      >$(OUTDIR)Point.p
  152. #
  153. $(OUTDIR)Random.p: $(INDIR)Random.st
  154.   $(PARSE)  $(INDIR)Random.st     >$(OUTDIR)Random.p
  155. #
  156. $(OUTDIR)Collection.p: $(INDIR)Collection.st
  157.   $(PARSE)  $(INDIR)Collection.st >$(OUTDIR)Collection.p
  158. #
  159. $(OUTDIR)Bag.p: $(INDIR)Bag.st
  160.   $(PARSE)  $(INDIR)Bag.st        >$(OUTDIR)Bag.p
  161. #
  162. $(OUTDIR)Set.p: $(INDIR)Set.st
  163.   $(PARSE)  $(INDIR)Set.st        >$(OUTDIR)Set.p
  164. #
  165. $(OUTDIR)Dictionary.p: $(INDIR)Dictionary.st
  166.   $(PARSE)  $(INDIR)Dictionary.st >$(OUTDIR)Dictionary.p
  167. #
  168. $(OUTDIR)Form.p: $(INDIR)Form.st
  169.   $(PARSE)  $(INDIR)Form.st       >$(OUTDIR)Form.p
  170. #
  171. $(OUTDIR)File.p: $(INDIR)File.st
  172.   $(PARSE)  $(INDIR)File.st       >$(OUTDIR)File.p
  173. #
  174. $(OUTDIR)Process.p: $(INDIR)Process.st
  175.   $(PARSE)  $(INDIR)Process.st    >$(OUTDIR)Process.p
  176. #
  177. $(OUTDIR)AmigaTalk.p: $(INDIR)AmigaTalk.st
  178.   $(PARSE)  $(INDIR)AmigaTalk.st  >$(OUTDIR)AmigaTalk.p
  179. #
  180. #
  181. # ------ Default for the rest of the rules: ---------------------
  182. #
  183. #.st.p:
  184. #  $(PARSE) $(INDIR)$>.st >$@  # Why don't this work all the time??
  185. #
  186.